//
//  mobanCell.m
//  pacc
//
//  Created by 测试 on 2018/7/30.
//  Copyright © 2018年 测试. All rights reserved.
//

#import "mobanCell.h"

@implementation mobanCell

- (void)awakeFromNib {
    [super awakeFromNib];
    // Initialization code
}
-(void)setModel:(mobanModel *)model{
    self.levelName = model.levelName;
    self.childList = model.childList;
    self.hasChild = [NSString stringWithFormat:@"%@",model.hasChild];
    self.template = [model.template mutableCopy];
    self.templateDesc = [self.template objectForKey:@"templateDesc"];
    self.diagnosisInitial = [self.template objectForKey:@"diagnosisInitial"];
    self.levelNamelabel.text = self.levelName;
}
- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

@end
